package org.kamionowski.supreme.services.search.tools;

/**
 * Created by IntelliJ IDEA.
 * User: Marcin Kamionowski
 * Date: 05.04.11
 * Time: 00:12
 */
public enum FileType {
    ALL(),
    MUSIC("mp3", "wav", "m4b"),
    VIDEO("mkv", "avi", "rmvb", "mov", "ogv", "flv", "mp4", "m4v"),
    DOCUMENT("rtf", "odt", "doc", "txt", "pdf", "tex"),
    IMAGES("png", "gif", "jpg", "jpeg", "ico", "odg"),
    PROGRAM("exe", "dll", "a", "lib", "so"),
    ARCHIVE("gz", "zip", "rar", "jar", "war", "ear", "bz2");

    private String extensions[];

    private FileType(String... extensions){
        this.extensions = extensions;
    }

    public String[] getExtensions() {
        return extensions;
    }
}
